package com.cl.unipay4j.ali;

/**
 * 支付宝常量类
 *
 * @author  siashan
 * @since  v1.0.1
 **/
public class AliConstants {

    /**
     * 业务产品码
     */
    public static class productCode {
        /**
         * 单笔无密转账到支付宝账户
         */
        public static final String TRANS_ACCOUNT_NO_PWD = "TRANS_ACCOUNT_NO_PWD";
        /**
         * 单笔无密转账到银行卡
         */
        public static final String TRANS_BANKCARD_NO_PWD = "TRANS_BANKCARD_NO_PWD";
        /**
         * 收发现金红包
         */
        public static final String STD_RED_PACKET = "STD_RED_PACKET";
    }

    /**
     * 特定业务场景
     */
    public static class bizScene {
        /**
         * 单笔无密转账到支付宝/银行卡, B2C现金红包
         */
        public static final String DIRECT_TRANSFER = "DIRECT_TRANSFER";
        /**
         * C2C现金红包-领红包
         */
        public static final String PERSONAL_COLLECTION = "PERSONAL_COLLECTION";
    }

    /**
     * 参与方的标识类型
     */
    public static class identityType {
        /**
         * 支付宝的会员ID
         */
        public static final String ALIPAY_USER_ID = "ALIPAY_USER_ID ";
        /**
         * 支付宝登录号，支持邮箱和手机号格式
         */
        public static final String ALIPAY_LOGON_ID = "ALIPAY_LOGON_ID";

        /**
         * 单笔无密转账到银行卡
         */
        public static final String BANKCARD_ACCOUNT = "BANKCARD_ACCOUNT";
    }

    /**
     * 收款账户类型
     */
    public static class accountType {
        /**
         * 对私（在金融机构开设的个人账户）
         */
        public static final String PRIVATE = "2";
        /**
         * 对公（在金融机构开设的公司账户）,如果银行卡为对公，必须传递省市支行信息或者联行号
         */
        public static final String CORPORATE = "1";

    }


}
